package com.dayang.redbook.count.biz.model.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author: dayang
 * @since: 2025/1/2
 * @description: 点赞、取消点赞笔记
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CountLikeUnlikeNoteMqDTO {
    /**
     * 用户id
     */
    private Long userId;

    /**
     * 笔记id
     */
    private Long noteId;

    /**
     * 笔记发布者 ID
     */
    private Long noteCreatorId;

    /**
     * 0: 取消点赞， 1：点赞
     */
    private Integer type;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
